//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// 			VisualNovelToolkit		     /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe.	/_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;

namespace ViNoToolkit{

	/// <summary>
	/// Click action.
	/// </summary>
	public class ClickAction : MonoBehaviour {

		/// <summary>
		/// Raises the click destroy event.
		/// </summary>
		void OnClickDestroy(){
			Destroy( this.gameObject );
		}

		/// <summary>
		/// Raises the click activate event.
		/// </summary>
		void OnClickActivate(){
			this.gameObject.SetActive( true );
		}
		
		/// <summary>
		/// Raises the click deactivate event.
		/// </summary>
		void OnClickDeactivate(){
			this.gameObject.SetActive( false );
		}

	}

}